<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Corechart</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/AbstractClass_logo.png"
														alt="Abstract Class"
														title="Abstract Class"
														style="vertical-align: middle"> Corechart</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|													<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Abstract base class for all charts located in the &quot;corechart&quot; package.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_googlecharttools---view---Corechart.class.php.html">/googlecharttools/view/Corechart.class.php</a> (line <span class="field">41</span>)
		</p>
		
				
		<pre><a href="../view/OptionStorage.html">OptionStorage</a>
   |
   --<a href="../view/Chart.html">Chart</a>
      |
      --Corechart</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/AbstractClass.png"
								 alt="Abstract class"
								 title="Abstract class"
								 style="vertical-align: center"/>
						<a href="../view/CartesianChart.html">CartesianChart</a>
					</td>
					<td>
											A CartesianChart is used as base for all charts that are based on a coordinate system.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../view/PieChart.html">PieChart</a>
					</td>
					<td>
											Creates a pie chart.
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																							
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getPackage" title="details" class="method-name">getPackage</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setBackgroundColor" title="details" class="method-name">setBackgroundColor</a>
											(<span class="var-type"><a href="../view/options/BackgroundColor.html">BackgroundColor</a></span>&nbsp;<span class="var-name">$background</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setChartArea" title="details" class="method-name">setChartArea</a>
											(<span class="var-type"><a href="../view/options/ChartArea.html">ChartArea</a></span>&nbsp;<span class="var-name">$area</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setColors" title="details" class="method-name">setColors</a>
											(<span class="var-type">string[]</span>&nbsp;<span class="var-name">$colors</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setFontName" title="details" class="method-name">setFontName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setFontSize" title="details" class="method-name">setFontSize</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$size</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setLegend" title="details" class="method-name">setLegend</a>
											(<span class="var-type"><a href="../view/options/Legend.html">Legend</a></span>&nbsp;<span class="var-name">$legend</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setReverseCategories" title="details" class="method-name">setReverseCategories</a>
											(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$reverse</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setTitle" title="details" class="method-name">setTitle</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setTitleTextStyle" title="details" class="method-name">setTitleTextStyle</a>
											(<span class="var-type"><a href="../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setTooltip" title="details" class="method-name">setTooltip</a>
											(<span class="var-type"><a href="../view/options/Tooltip.html">Tooltip</a></span>&nbsp;<span class="var-name">$tooltip</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodgetPackage" id="getPackage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getPackage</span> (line <span class="line-number">43</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getPackage
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../view/Chart.html#methodgetPackage">Chart::getPackage()</a></dt>
					</dl>
			
	</div>
<a name="methodsetBackgroundColor" id="setBackgroundColor"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setBackgroundColor</span> (line <span class="line-number">54</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the chart's background color and border.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setBackgroundColor
		</span>
					(<span class="var-type"><a href="../view/options/BackgroundColor.html">BackgroundColor</a></span>&nbsp;<span class="var-name">$background</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../view/options/BackgroundColor.html">BackgroundColor</a></span>
				<span class="var-name">$background</span><span class="var-description">: Background color and border. If set to null, the default               background color and border will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetChartArea" id="setChartArea"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setChartArea</span> (line <span class="line-number">65</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the chart's position and size relative to it's border.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setChartArea
		</span>
					(<span class="var-type"><a href="../view/options/ChartArea.html">ChartArea</a></span>&nbsp;<span class="var-name">$area</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../view/options/ChartArea.html">ChartArea</a></span>
				<span class="var-name">$area</span><span class="var-description">: Position and size. If set to null, the default               position and size will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetColors" id="setColors"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setColors</span> (line <span class="line-number">80</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the chart element's color.</p>
<p class="description"><p>These colors will be assigned to the chart's elements.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setColors
		</span>
					(<span class="var-type">string[]</span>&nbsp;<span class="var-name">$colors</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string[]</span>
				<span class="var-name">$colors</span><span class="var-description">: An array where each value represents a color for a               specific element of the chart. Any valid HTML/CSS color               definition can be used (e. g. &quot;white&quot;, #FFF, #123456).               If set to null, the default colors will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetFontName" id="setFontName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setFontName</span> (line <span class="line-number">106</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the font name.</p>
<p class="description"><p>This font will be used as for all text-elements in the chart, as long  as no other font name has been set for the sub text-element.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setFontName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: Font name. If set to null, the default font will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetFontSize" id="setFontSize"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setFontSize</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the font size.</p>
<p class="description"><p>This font size will be used for all text-elements in the chart, as long  as no other size has been set for the sub text-element.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setFontSize
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$size</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$size</span><span class="var-description">: Font size in pixels. If set to null, the default size will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetLegend" id="setLegend"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setLegend</span> (line <span class="line-number">117</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the legends position and text style.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setLegend
		</span>
					(<span class="var-type"><a href="../view/options/Legend.html">Legend</a></span>&nbsp;<span class="var-name">$legend</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../view/options/Legend.html">Legend</a></span>
				<span class="var-name">$legend</span><span class="var-description">: Position and text style. If set to null, the default position               and text style will be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetReverseCategories" id="setReverseCategories"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setReverseCategories</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the direction, in which the data will be read.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setReverseCategories
		</span>
					(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$reverse</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$reverse</span><span class="var-description">: If set to true, the data will be read in reverse.               If set to false or null, it will be read in the order it's               added to the <a href="../model/DataTable.html">DataTable</a>.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTitle" id="setTitle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTitle</span> (line <span class="line-number">142</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the chart's title.</p>
<p class="description"><p>The title will be displayed above the graph.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTitle
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: The chart's title. If set to null, no title will               be displayed.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTitleTextStyle" id="setTitleTextStyle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTitleTextStyle</span> (line <span class="line-number">153</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the chart title's text style.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTitleTextStyle
		</span>
					(<span class="var-type"><a href="../view/options/TextStyle.html">TextStyle</a></span>&nbsp;<span class="var-name">$textStyle</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../view/options/TextStyle.html">TextStyle</a></span>
				<span class="var-name">$textStyle</span><span class="var-description">: The text style. If set to null, the default text style will               be used.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTooltip" id="setTooltip"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTooltip</span> (line <span class="line-number">164</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the behaviour and style of the chart's tooltip.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTooltip
		</span>
					(<span class="var-type"><a href="../view/options/Tooltip.html">Tooltip</a></span>&nbsp;<span class="var-name">$tooltip</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../view/options/Tooltip.html">Tooltip</a></span>
				<span class="var-name">$tooltip</span><span class="var-description">: The tooltip behaviour and style. If set to null, the default               behaviour and style will be used.</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../view/Chart.html">Chart</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#method__construct">Chart::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodaddJavaScriptCode">Chart::addJavaScriptCode()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodaddPrepareJavaScriptCode">Chart::addPrepareJavaScriptCode()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodgetHtmlContainer">Chart::getHtmlContainer()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodgetId">Chart::getId()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodgetJavaScriptCode">Chart::getJavaScriptCode()</a></span><br>
													<img src="../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodgetPackage">Chart::getPackage()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodsetData">Chart::setData()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodsetHeight">Chart::setHeight()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/Chart.html#methodsetWidth">Chart::setWidth()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../view/OptionStorage.html">OptionStorage</a></span></p>
					<blockquote>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodencodeOptions">OptionStorage::encodeOptions()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodgetOption">OptionStorage::getOption()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodsetOption">OptionStorage::setOption()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodsetOptionArray">OptionStorage::setOptionArray()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodsetOptionBoolean">OptionStorage::setOptionBoolean()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../view/OptionStorage.html#methodsetOptionNumeric">OptionStorage::setOptionNumeric()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Oct 2012 16:45:04 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>